﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="welcome.aspx.cs" Inherits="StoreWeb.welcome" %>

<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
    <link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
    <link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />

    <link href="lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
    <title>我的桌面</title>
</head>
<body>
    <div class="pd-20" style="padding-top: 20px;">
        <table class="table table-border table-bordered table-bg">
            <thead>
                <tr>
                    <th scope="col">公告信息</th>
                </tr>
            </thead>
            <tbody>
                <tr class="text-c">
                    <td>
                        <ul style="line-height:25px;">
                            <li class="ann" style="text-align:left; ">
                                <p>
                                    <asp:Repeater ID="Repeater1" runat="server">
                                        <ItemTemplate>
                                            <a title="<%#Eval("newstitile") %>" href="javascript:;" onclick="admin_role_confirm(this,'<%#Eval("id") %>')" class="ml-5" style="text-decoration: none"><%#Eval("newstitile") %></a><br>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </p>
                            </li>
                        </ul>
                    </td>
            </tbody>
        </table>
        <br />
        <table class="table table-border table-bordered table-bg">
            <thead>
                <tr>
                    <th colspan="7" scope="col">信息统计</th>
                </tr>
                <tr class="text-c">
                    <th>统计</th>
                    <th>订单</th>
                    <th>面料信息</th>
                    <th>经销商</th>
                    <th>用户</th>
                    <th>营业额</th>
                </tr>
            </thead>
            <tbody>
                <tr class="text-c">
                    <td>总数</td>
                    <td>92</td>
                    <td>9</td>
                    <td>0</td>
                    <td>8</td>
                    <td>20</td>
                </tr>
                <tr class="text-c">
                    <td>今日</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                </tr>
                <tr class="text-c">
                    <td>昨日</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                </tr>
                <tr class="text-c">
                    <td>本周</td>
                    <td>2</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                </tr>
                <tr class="text-c">
                    <td>本月</td>
                    <td>2</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                    <td>0</td>
                </tr>
            </tbody>
        </table>
    </div>
    <footer class="footer">
    </footer>
    <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="js/H-ui.js"></script>
    <script type="text/javascript" src="lib/layer/1.9.3/layer.js"></script>
    <script type="text/javascript">
        /*管理员-角色-审核*/
        function admin_role_confirm(obj, id) {
            $.post("ajax/news.aspx", { action: "confirm", id: id },
                      function (data) {
                          layer.open({
                              type: 1,
                              skin: 'layui-layer-demo', //样式类名
                              closeBtn: 1, //不显示关闭按钮
                              shift: 2,
                              shadeClose: false, //开启遮罩关闭
                              area: ['420px', '240px'], //宽高
                              content: '<div style="padding:10px;">' + data + '</div>'
                          });
                      });
        }

    </script>
</body>
</html>
